FROM 148.70.47.141/terra-cloud/nginx

COPY dist /usr/share/nginx/html/dist/

COPY ./nginx.conf /etc/nginx/nginx.conf
COPY ./fullchain.pem /cert/
COPY ./privkey.pem /cert/

CMD ["nginx", "-g", "daemon off;"]

# 暴露容器的 80 端口
EXPOSE 80
EXPOSE 443
